fn main() {
  #[cfg(feature = "cmd")]
  {
    use e_utils::cmd::{shell_open, Cmd};

    fn test_cmd() {
      let output = Cmd::new("echo Hello from cmd").output().unwrap();
      assert_eq!(output.stdout, "Hello from cmd");
      assert!(Cmd::new("echo Hello from cmd").output().is_err());
    }

    fn test_shell_open_windows() {
      assert!(shell_open("C:\\").is_ok());
    }
    test_cmd();
    test_shell_open_windows();
  }
}
